package test.nettyrpc.model;

import java.io.Serializable;

/**
 * rpc调用请求参数
 */
public class MessageRequest implements Serializable {

    private String messageId;

    private String className;

    private String methodName;

    private Class<?>[] paramtersType;

    private Object[] paramtersVal;

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class<?>[] getParamtersType() {
        return paramtersType;
    }

    public void setParamtersType(Class<?>[] paramtersType) {
        this.paramtersType = paramtersType;
    }

    public Object[] getParamtersVal() {
        return paramtersVal;
    }

    public void setParamtersVal(Object[] paramtersVal) {
        this.paramtersVal = paramtersVal;
    }
}
